#! /bin/bash

echo "This is a demo for learning case, please input a number between 1 to 4:"

read num

case $num in
	1)
		echo "input number is 1"
	;;
	2)
		echo "input number is 2"
	;;
	3)
		echo "input number is 3"
	;;
	4)
		echo "input number is 4"
	;;
	*)
		echo "input is not reasonable"
	;;
esac
 
